﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonsterEngine.Interfaces;
using MonsterEngine.Managers;
using MonsterEngine.Types;

namespace MonsterEngine.Abilities
{
    public class Heal:IAbilities
    {
        private AbilityType _abilityType;
        public AbilityType AbilityType
        {
            get
            {
                return _abilityType;
            }
            set
            {
                _abilityType = value;
            }
        }
        private string _name;
        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }
        public string Description { get; set; }
        private int _basePoint;
        public int BasePoint
        {
            get
            {
                return _basePoint;
            }
            set
            {
                _basePoint = value;
            }
        }
        private int _abilityKey;
        public int AbilityKey
        {
            get
            {
                return _abilityKey;
            }
            set
            {
                _abilityKey = value;
            }
        }
        private IFightable _abilityTarget;
        public IFightable AbilityTarget
        {
            get { return _abilityTarget; }
            set { _abilityTarget = value; }
        }
        private DamageManager _abilityDamageManager;
        public DamageManager AbilityDamageManager
        {
            get { return _abilityDamageManager; }
            set { _abilityDamageManager = value; }
        }
        public DamageType DamageType
        {
            get;
            set;
        }

        public void DoAbility()
        {
            Console.WriteLine("Doing heal ability...");
            PlayerManager.Player1.Target.HitPoints += _basePoint;
        }
    }
}
